package cn.stylefeng.guns.modular.business.pojo;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 课程数据封装类
 *
 * @author zhangyaowen
 * @date 2021/08/18 14:09
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SubClassInfoRequest extends BaseRequest {

    /**
     * 课程id
     */
    @NotNull(message = "课程id不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("课程id")
    private Long id;

    /**
     * 课程名称
     */
    @ChineseDescription("课程名称")
    private String className;

    /**
     * 简介
     */
    @ChineseDescription("简介")
    private String classIntroduction;

    /**
     * 主讲人
     */
    @ChineseDescription("主讲人")
    private String classSpeaker;

    /**
     * 主讲人简介
     */
    @ChineseDescription("主讲人简介")
    private String speakerIntroduction;

    /**
     * 来源
     */
    @ChineseDescription("来源")
    private String classFrom;

    /**
     * 时间
     */
    @ChineseDescription("时间")
    private String classTime;

    /**
     * 课程列表
     */
    @ChineseDescription("课程列表")
    private String classListname;

}